home *** CD-ROM | disk | FTP | other *** search
- I got tired of some of the limitations of the various diskette managers and
- decided to write one without those limitations. On the way to the forum,
- however, I decided that it was stupid to create a special-purpose database
- program when I already had a perfectly suitable general-purpose system,
- KnowledgeMan. The idea is that the database program will provide me with
- the all of the functions usually ascribed to a diskette management program,
- and many more besides. The database program will sort or re-index much more
- quickly than most diskette managers, and will let me add any fields (such as
- descriptions) that I want. With a database program, I control the format of
- the reports as well.
-
- The only problem with using Kman (or any other database) to manage a list of
- diskette files is that of getting the file names into the database. This
- program is my modest solution to that problem.
-
- LISTDIR.COM will create a text file containing the various fields of the
- diskette directory in a quoted, comma delimited format. That is, each field
- such as name, extention and so forth is listed on one line, separated by
- commas and enclosed in double quotes. For example, this is the file created
- from one of my diskettes:
-
- "ARC ","ARC"," 85436","17:55:17","06/21/1985","PD-0093"
- "LUD106 ","LBR"," 3584","02:29:28","07/15/1985","PD-0093"
- "HACKER ","TXT"," 5632","02:01:10","07/15/1985","PD-0093"
- "DISPIO ","LBR"," 34688","02:07:19","07/15/1985","PD-0093"
- "SORTF20 ","LBR"," 4736","02:33:27","07/15/1985","PD-0093"
- "CACHE ","LBR"," 1024","11:37:21","07/18/1985","PD-0093"
- "LIST552 ","LBR"," 9984","00:54:05","07/22/1985","PD-0093"
- "QMDM107 ","TXT"," 2688","02:54:22","07/18/1985","PD-0093"
- "QMDM107 ","LQR"," 84224","03:40:24","07/18/1985","PD-0093"
- "QMDMRCFG","COM"," 14464","03:13:26","07/18/1985","PD-0093"
- "C-STANDA","RQ "," 36973","00:39:26","07/20/1985","PD-0093"
- "USRSYSOP","OFR"," 1280","16:52:24","07/21/1985","PD-0093"
- "ARC420 ","COM"," 29568","22:17:06","07/24/1985","PD-0093"
- "ENVR310 ","DOC"," 1920","22:20:05","07/24/1985","PD-0093"
- "LUU205 ","HLP"," 4620","22:48:23","07/24/1985","PD-0093"
- "COMRING1","ARC"," 6784","23:40:22","07/24/1985","PD-0093"
- "DFIELD ","LBR"," 16000","01:31:23","07/25/1985","PD-0093"
-
- This format is one which may readily be converted to a database file by most
- of the major database programs on the market today (including Lotus 1-2-3).
-
- The last field (PD-0093) is the volume label, which is required for LISTDIR
- to work properly. If your diskettes do not have volume labels, use a utility
- such as CV to add them before using this program.
-
- LISTDIR opens the specified output file for append, so if the file already
- exists, the new directory information will be added to the end of it.
-
- LISTDIR does not sort the directory information as your database program will
- do this for you.
-
- Source code has been provide so that you may modify the format of the output
- file if you wish. The source file may not be of much use, however, due to
- several functions (such as findfirst) which live in my private library. These
- functions will have to be written before compilation. LISTDIR was written
- (on the spur of the moment) in Lattice C, ver 2.15a.
-
- If you find this program of use, the author (that's me) requests a contribution
- in the amount of $5.00. Contributions, bug reports (ugh), flames or offers of
- matrimony to:
-
- Leroy Casterline
- Casterline Computer Consulting
- 2507 West Laurel Street
- Fort Collins, Colorado 80521
-
-